#include<iostream>
#include"UDPServer.hpp"

int main(int argc,char* argv[])
{
    if(argc!=2)
    {
        cout<<"udp_server port"<<endl;
        return 0;
    }
    u_int16_t port=atoi(argv[1]);
    UdpServer server(port);
    server.Start();

    server.Stop();
    return 0;
}